﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CMPPProtocol;

namespace CMPPCore
{
    internal class MessageSlideWindow
    {
        /// <summary>
        /// 消息
        /// </summary>
        public DATA_PACKAGE Message { get; set; } 

        /// <summary>
        /// 状态
        /// </summary>
        public SlideStatusType Status { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime? SendTime { get; set; }

        /// <summary>
        /// 发送次数
        /// </summary>
        public int SendCount { get; set; }


    }

    internal enum SlideStatusType
    {
        /// <summary>
        /// 等待发送
        /// </summary>
        Wait,
        /// <summary>
        /// 准备发送
        /// </summary>
        Begin,
        /// <summary>
        /// 已经发送
        /// </summary>
        Sending
    }

}
